package practicalWork;

import java.util.List;
import subjectAndProfessorship.EnrolledInProfessorship;
import subjectAndProfessorship.Professorship;
import util.MyDate;

/**
 * autor:Medici Maria Laura
 */
public abstract class ToHandIn {
	/* ******************************** Variables ******************************** */
	private MyDate realSubmiteDate;
	private String corrections;
	private int nota;
	
	/* ******************************* Constructor ******************************* */	
	protected ToHandIn(MyDate date){
		this.realSubmiteDate= date;
	}
	
	/* ******************************** Get & Set ******************************** */
	public void setRealSubmiteDate(MyDate realSubmiteDate) {
		this.realSubmiteDate = realSubmiteDate;
	}
	public MyDate getRealSubmiteDate() {
		return realSubmiteDate;
	}
	public void setCorrections(String corrections) {
		this.corrections = corrections;
	}
	public String getCorrections() {
		return corrections;
	}
	public void setNota(int notas) {
		this.nota = notas;
	}
	public int getNota() {
		return nota;
	}
	
	/* ********************************* Metodos ********************************* */	
	public void correct(int nota, String comentario){
		this.corrections= comentario;
		this.nota = nota; 
	}
	
	public abstract String apellido();

	public abstract boolean perteneceAlumno(EnrolledInProfessorship alumno);

	public abstract EnrolledInProfessorship takeAlumnoRepresentante();

	public abstract List<EnrolledInProfessorship> makeListAlumno();

	public abstract void agregarNotaAAlumno(int nota);

	public void removerAlumnos(Professorship catedra){
		System.err.print("No se puede remover este alumno");
	}

	public abstract boolean vacia();
}
